<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title></title>
    <script language="javascript" type="text/javascript">
    function calledByActivity(str){
        alert(str);
    }

    function callActivityMethod(str){
        window.JSDemoActivity.showToast(str);
    }

    </script>
</head>
<body>
<input type="button" value="js调用Android方法" onclick="callActivityMethod('Hello world from javaScript!')"><br/>
<input type="button" value="Android调用js方法" onclick="window.JSDemoActivity.callJSMethod('hello from html!')"><br/>

<div id="helloweb">
    <form action="http://www.baidu.com/s" method="get">
        <input type="text" name="wd">
        <input type="submit" value="搜索">
    </form>
</div>
</body>
</html>